package com.fzf.blog.modules.admin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fzf.blog.modules.admin.mapper.OssPictureMapper;
import com.fzf.blog.modules.admin.model.OssPicture;
import com.fzf.blog.modules.admin.service.OssPictureService;


@Service
public class OssPictureServiceImpl implements OssPictureService{
	@Autowired
	private OssPictureMapper ossPictureMapper;

	@Override
	public List<OssPicture> getAll() {
		return ossPictureMapper.selectAll();
	}

	@Override
	public int insert(OssPicture ossPicture) {
		return ossPictureMapper.insert(ossPicture);
		
	}
}
